using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Input;
using WPFExcelReport.Helpers;
using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Input;
using WPFExcelReport.Helpers;
using INTEX.DataBase;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
namespace WPFExcelReport
{
    public partial class VA07
    {

        public VA07()
        {

            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            DataContext = new VVA07();
            InitializeComponent();
        }

    }
    public partial class VVA07: ViewModelBase
    {
        public VVA07()
        {
            switch (app.company)
            {
                default:
                case "YGR":
                case "YCC":
                case "TST":
                    SetEnv = new YGRDB();
                    SetData = new YGRDB();
                    SetProd = new YGRDB();
                    break;
                case "JLT":
                    SetEnv = new JLTDB();
                    SetData = new JLTDB();
                    SetProd = new JLTDB();
                    break;
            }
            TableName = "VKPOS";
        }
        #region=Property========
        //-----Property---
         public string ZOLLTNR1 { get { if (dwMaster == null) return ""; return dwMaster["ZOLLTNR1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZOLLTNR1"] = value; OnPropertyChanged("ZOLLTNR1", value); } }
 public string KOLLN { get { if (dwMaster == null) return ""; return dwMaster["KOLLN"].ToString(); } set { if (dwMaster == null) return; dwMaster["KOLLN"] = value; OnPropertyChanged("KOLLN", value); } }
 public string ARTN { get { if (dwMaster == null) return ""; return dwMaster["ARTN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARTN"] = value; OnPropertyChanged("ARTN", value); } }
 public string URLAND { get { if (dwMaster == null) return ""; return dwMaster["URLAND"].ToString(); } set { if (dwMaster == null) return; dwMaster["URLAND"] = value; OnPropertyChanged("URLAND", value); } }
 public string WECHSEL { get { if (dwMaster == null) return ""; return dwMaster["WECHSEL"].ToString(); } set { if (dwMaster == null) return; dwMaster["WECHSEL"] = value; OnPropertyChanged("WECHSEL", value); } }
 public string PRFBEG { get { if (dwMaster == null) return ""; return dwMaster["PRFBEG"].ToString(); } set { if (dwMaster == null) return; dwMaster["PRFBEG"] = value; OnPropertyChanged("PRFBEG", value); } }
 public string AVDAT { get { if (dwMaster == null) return ""; return dwMaster["AVDAT"].ToString(); } set { if (dwMaster == null) return; dwMaster["AVDAT"] = value; OnPropertyChanged("AVDAT", value); } }
 public string VKZLFD { get { if (dwMaster == null) return ""; return dwMaster["VKZLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["VKZLFD"] = value; OnPropertyChanged("VKZLFD", value); } }
 public string KOLLA { get { if (dwMaster == null) return ""; return dwMaster["KOLLA"].ToString(); } set { if (dwMaster == null) return; dwMaster["KOLLA"] = value; OnPropertyChanged("KOLLA", value); } }
 public string ARTA { get { if (dwMaster == null) return ""; return dwMaster["ARTA"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARTA"] = value; OnPropertyChanged("ARTA", value); } }
 public string KOPIERKZ { get { if (dwMaster == null) return ""; return dwMaster["KOPIERKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["KOPIERKZ"] = value; OnPropertyChanged("KOPIERKZ", value); } }
 public string AUSNAHME { get { if (dwMaster == null) return ""; return dwMaster["AUSNAHME"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUSNAHME"] = value; OnPropertyChanged("AUSNAHME", value); } }
 public string KURZBEZ { get { if (dwMaster == null) return ""; return dwMaster["KURZBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["KURZBEZ"] = value; OnPropertyChanged("KURZBEZ", value); } }
 public string BEZ { get { if (dwMaster == null) return ""; return dwMaster["BEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["BEZ"] = value; OnPropertyChanged("BEZ", value); } }
 public string SPERRDAT { get { if (dwMaster == null) return ""; return dwMaster["SPERRDAT"].ToString(); } set { if (dwMaster == null) return; dwMaster["SPERRDAT"] = value; OnPropertyChanged("SPERRDAT", value); } }
 public string BRTCA { get { if (dwMaster == null) return ""; return dwMaster["BRTCA"].ToString(); } set { if (dwMaster == null) return; dwMaster["BRTCA"] = value; OnPropertyChanged("BRTCA", value); } }
 public string BRTVON { get { if (dwMaster == null) return ""; return dwMaster["BRTVON"].ToString(); } set { if (dwMaster == null) return; dwMaster["BRTVON"] = value; OnPropertyChanged("BRTVON", value); } }
 public string BRTBIS { get { if (dwMaster == null) return ""; return dwMaster["BRTBIS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BRTBIS"] = value; OnPropertyChanged("BRTBIS", value); } }
 public string ARTST { get { if (dwMaster == null) return ""; return dwMaster["ARTST"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARTST"] = value; OnPropertyChanged("ARTST", value); } }
 public string LAECA { get { if (dwMaster == null) return ""; return dwMaster["LAECA"].ToString(); } set { if (dwMaster == null) return; dwMaster["LAECA"] = value; OnPropertyChanged("LAECA", value); } }
 public string LAEVON { get { if (dwMaster == null) return ""; return dwMaster["LAEVON"].ToString(); } set { if (dwMaster == null) return; dwMaster["LAEVON"] = value; OnPropertyChanged("LAEVON", value); } }
 public string LAEBIS { get { if (dwMaster == null) return ""; return dwMaster["LAEBIS"].ToString(); } set { if (dwMaster == null) return; dwMaster["LAEBIS"] = value; OnPropertyChanged("LAEBIS", value); } }
 public string BESTANDF { get { if (dwMaster == null) return ""; return dwMaster["BESTANDF"].ToString(); } set { if (dwMaster == null) return; dwMaster["BESTANDF"] = value; OnPropertyChanged("BESTANDF", value); } }
 public string GEWCA { get { if (dwMaster == null) return ""; return dwMaster["GEWCA"].ToString(); } set { if (dwMaster == null) return; dwMaster["GEWCA"] = value; OnPropertyChanged("GEWCA", value); } }
 public string GEWVON { get { if (dwMaster == null) return ""; return dwMaster["GEWVON"].ToString(); } set { if (dwMaster == null) return; dwMaster["GEWVON"] = value; OnPropertyChanged("GEWVON", value); } }
 public string GEWBIS { get { if (dwMaster == null) return ""; return dwMaster["GEWBIS"].ToString(); } set { if (dwMaster == null) return; dwMaster["GEWBIS"] = value; OnPropertyChanged("GEWBIS", value); } }
 public string LO { get { if (dwMaster == null) return ""; return dwMaster["LO"].ToString(); } set { if (dwMaster == null) return; dwMaster["LO"] = value; OnPropertyChanged("LO", value); } }
 public string PRGRSTD { get { if (dwMaster == null) return ""; return dwMaster["PRGRSTD"].ToString(); } set { if (dwMaster == null) return; dwMaster["PRGRSTD"] = value; OnPropertyChanged("PRGRSTD", value); } }
 public string ARTGRSTD { get { if (dwMaster == null) return ""; return dwMaster["ARTGRSTD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARTGRSTD"] = value; OnPropertyChanged("ARTGRSTD", value); } }
 public string EALAND { get { if (dwMaster == null) return ""; return dwMaster["EALAND"].ToString(); } set { if (dwMaster == null) return; dwMaster["EALAND"] = value; OnPropertyChanged("EALAND", value); } }
 public string EAFIRMA { get { if (dwMaster == null) return ""; return dwMaster["EAFIRMA"].ToString(); } set { if (dwMaster == null) return; dwMaster["EAFIRMA"] = value; OnPropertyChanged("EAFIRMA", value); } }
 public string EAARTIKL { get { if (dwMaster == null) return ""; return dwMaster["EAARTIKL"].ToString(); } set { if (dwMaster == null) return; dwMaster["EAARTIKL"] = value; OnPropertyChanged("EAARTIKL", value); } }
 public string EAPRUEKZ { get { if (dwMaster == null) return ""; return dwMaster["EAPRUEKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["EAPRUEKZ"] = value; OnPropertyChanged("EAPRUEKZ", value); } }
 public string PART { get { if (dwMaster == null) return ""; return dwMaster["PART"].ToString(); } set { if (dwMaster == null) return; dwMaster["PART"] = value; OnPropertyChanged("PART", value); } }
 public string DART { get { if (dwMaster == null) return ""; return dwMaster["DART"].ToString(); } set { if (dwMaster == null) return; dwMaster["DART"] = value; OnPropertyChanged("DART", value); } }
 public string DVAR { get { if (dwMaster == null) return ""; return dwMaster["DVAR"].ToString(); } set { if (dwMaster == null) return; dwMaster["DVAR"] = value; OnPropertyChanged("DVAR", value); } }
 public string DKUNDNR { get { if (dwMaster == null) return ""; return dwMaster["DKUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["DKUNDNR"] = value; OnPropertyChanged("DKUNDNR", value); } }
 public string DWERK { get { if (dwMaster == null) return ""; return dwMaster["DWERK"].ToString(); } set { if (dwMaster == null) return; dwMaster["DWERK"] = value; OnPropertyChanged("DWERK", value); } }
 public string DABT { get { if (dwMaster == null) return ""; return dwMaster["DABT"].ToString(); } set { if (dwMaster == null) return; dwMaster["DABT"] = value; OnPropertyChanged("DABT", value); } }
 public string ARTBEZ { get { if (dwMaster == null) return ""; return dwMaster["ARTBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARTBEZ"] = value; OnPropertyChanged("ARTBEZ", value); } }

        #endregion
    }
}
